package com.stars.empoly.adapter


import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.stars.empoly.R
import com.stars.empoly.databinding.ItemDateBinding
import com.stars.empoly.databinding.ItemOpinionTypeBinding
import com.stars.empoly.model.DateBean
import com.stars.empoly.model.bean.CateTypeBean
import com.trailer.base.base.BAdapter


class ChoseDateAdapter() : BAdapter<DateBean.TimeList, BaseDataBindingHolder<ItemDateBinding>>(R.layout.item_date) {

    override fun convert(holder: BaseDataBindingHolder<ItemDateBinding>, item: DateBean.TimeList) {
        holder.dataBinding?.item = item
        var time=item.time.split(" ")
        holder.dataBinding?.tvTime?.text = time[1]
        holder.dataBinding?.tvTimeTo?.text=time[1]



    }
}
